Limit GtkContainer::border-width to 65535
authorChristian Dywan <christian@twotoasts.de>
Mon, 11 Jan 2010 16:37:13 +0000 (17:37 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 11 Jan 2010 16:37:13 +0000 (17:37 +0100)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
gtk/gtkcontainer.c

index d2b4bac8883004d00a9f36ee70f72c3836f82ed6..9a9d1bf87b3ad630cc6dae66cb3414c81b7657b6 100644 (file)
@@ -246,7 +246,7 @@ gtk_container_class_init (GtkContainerClass *class)
                                                       P_("Border width"),
                                                       P_("The width of the empty border outside the containers children"),
                                                      0,
-                                                     G_MAXINT,
+                                                     65535,
                                                      0,
                                                       GTK_PARAM_READWRITE));
   g_object_class_install_property (gobject_class,